some refactoring of test resources; unit test for ConfigurationRegistry