Refactored state transitions in tests