fix failing cache tests