Add test for begin/end shapes inside with-graphics macro.