test for the records