Tests for AnimationNode methods

Tests for AnimationNode methods
This should throw a HierarachyRequestError. See example in
http://w3c.github.io/web-animations/#dom-animationnode-before