Get cache tests working