Add JMX tests.