fix SetCache test case bug