add test for some optional mask