add jbpm rest test code