Fix unit test for configuration