See `test_history_state` in `tests/test_machine.py` for a failing example. [Line 175](https://github.com/statelyai/xstate-python/blob/79edfa109ae396aa57c863970254f934e4351688/xstate/algorithm.py#L175) uses singular `transition` property off of a StateNode which doesn't exist. Similarly, [Line 66](https://github.com/statelyai/xstate-python/blob/79edfa109ae396aa57c863970254f934e4351688/xstate/algorithm.py#L66) also tries to use a singular `transition` property