Cleanup the matcher in FSM test.