Fix testcase for Cache dispense