fix file fsm test