Properly crash the app if transformation throws, add missing tests.
Merge pull request #711 from square/dimitris/crash-on-bad-transform

Properly crash the app if transformation throws, add missing tests.