Simplified state machine test