Making configuration configurable, unit test