Added test for preloading