Testing the JMS Publisher