modified test to reproduce a problem with the ApplyStyleToElementOperation