fix persistent cache test