cache creation test