Removed unused code, finished test coverate for test_table_api.