Fixed failing session event test, due to refactoring of state transitions.