Add test for Can function in fsm