Add check for Web Animations API and make the test fail if its not present