unit tests for transition helper