test for state transition dispatch.