Add Transition and unit test case