ResetMask + tests