fix cloaking tests