Fix unit test to run locally as well as on Jenkins

The way I changed this before made it possible for it to fail locally because of our local machines' config files.