add more tests for time boundary and caching