first test for correct data