Testing that dynamic changes to the element for a given ID are reflected in gradients