Canvas.util unit tests