Added testfsm