Testing canvas functionality