update jms test code