put masking test into test case