[table] add library and basi unit test.