Fix location of config file in tests
Remove debug code