testing output mask.