I just found that in the tests the code that aliases these functions would be executed more than once, resulting in an endless loop.

I also considered just adding it to the code to Transitions::Machine in general but outside of active record it's not really necessary since every state machine has its own name and tracks its own state.