test for canvas