Added FSM tests.