cache tests work