Test for Transforms.

Fix #292.
#304.