add test for preload cache