COSMIT: naming and simplification in test_masking