Fixed config file failure
Refactored tests and code, path is now [env].[spec].defaultpath
Better test