Add test cases for invalid input.