Adding test for invalid config