Testing the canvas html element