Thanks Martin, this is my first time posting a question on activiti forum and I must appreciate the community, incredibly fast turnaround time, thanks.
I don't have a junit but this is how I was executing the code. Let me see how could I create a junit for it (need to look at documentation.)
Map<String, Object> properties = new HashMap<String, Object>();
String[] names = {"Jerry", "Rajeev", "Vijay","Hemant"};
properties.put("names", Arrays.asList(names));
runtimeService.startProcessInstanceByKey("InnerLoopEventProcess", properties);
please let me know if this is helpful, thanks again.