Test animation of the class attribute on "rect" elements