Add cmdcheck for xcattest
Add some debug info for the script