Add test for table manager.