Updating tests for tables and models