Better cache tests