fixing failures

Fixing failures at http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/job/official-headpin-cli/lastCompletedBuild/ReportNG_Report/