Implement tests for requestAnimationFrame

#18 is resolved, but to enable it by default we need to implement tests.