Verify integrity of the tables