tests for all the tables