More improvements to the JMX tests.