add some test and work with CacheTable