testing module for fsm states