Similar to the wrapper around `service` added with 71d59af58a, this
sets the variable only when running the automated tests.
Similar to the wrapper around `service` added with 71d59af58a, this
sets the variable only when running the automated tests.