Add tests for ConfigHandler