Added basic preloading to API test.