Cache test and fix.