Test for invalid data