Add test cases for config.