Automated test for beginElement calls

The test for beginElement/beginElementAt/endElement/endElementAt now checks for expected transform attribute values after the call.