[test] Add test for offline-cache (#4562)
[test] Add test for offline-cache (#4562)

* Add test for offline-cache on cpu

* Code format
yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi