add test cases including: filled & stroked arc, image, line with different caps, join and stroke operations, compositing operations, text and transformation.