Add a test to verify that the state of the table is consistent with insertions.