Clear environment before config loader tests

Fixes #319
Merge pull request #392 from dagolden/topic/fix-config-loader-test

Clear environment before config loader tests