Configuration class and unit tests