Add negative test cases to the create config test.