Add cmdcheck for xcattest