cache unittest fixed