fix cache test