added mechanisum to avoid two test trying to genrate xml file at same time