Unittest for TestDirectoryBasedConfigs