Fix the cache problem on failed test