Add JMS test code

Now we have code for both JMS and MozartSpaces