Unlink CompositeGeometry transforms. Add test.

The test does not technically test all parts that do links/unlinks, but the essential parts are covered.