Unit test for Typed transformer