finish tests for table sorting