Split into tests of Transformation2D and Transformation3D.
Add missing tests.