Fix broken cache test