tests for invalid data
other validity test