Canvas.Object unit tests