Jira/PJSM-247

http://issues.opennms.org/browse/PJSM-247
use
 ... && exit 1
here to exit if test failed