Improve negative test cases.