add clipToDocumentBounds with scaling test case