Testing that dynamic changes to mask attributes are reflected in the mask