Fix cache test.