fixed failing headpin cli tests

Please refer the latest test report
http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/view/qe-headpin/job/official-headpin-cli/161/ReportNG_Report/

Please,review it