Added tests for getTransitions