Tests invalid data input