Fix bug when transforming points without an affine component.

* Add unit tests to catch errors in identity transformations