add cancelAnimationFrame test and fix bugs for other test