Test the invalid inputs