Fix wrong test which changed system env

Test changed environment, affecting all other tests. Fixing that. Might cause build to fail, but it is the right thing to do.
Mixed double and single quotes.