transformer unit test