added test for canvas errors