Check for a transformable type and cleaning up some tests.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>