Test for JMS