add jbpm rest api test code