fixed unit test that needed updated cache code