New unit test for making sure that update_table_data works like it should

Since we weren't previously testing that functionality.