updated cache tests