Improves transitions test

Unifies functions with trantions name
Merge pull request #4811 from ricardoquesada/transition_test_fix

Improves transitions test