Add test

This depends on https://github.com/web-animations/web-animations-next/pull/178. Don't land this 'til it has landed.

@shans @dstockwell