testing framework is ready
throw exception if canvas API not supported
putpixel