Preserve env on invoke of tests

This is needed so system env variables like "GEARD_URI" are preserved in the sudo environment that is spawned when executing the tests.