Add canvas helper tests