Test that remask does not result in side effects.