unit test for transn