Adapt test_rmcom to fsm_free() changes