Added basic testing for canvas and requestAnimFrame