fix tests (config mocking)