Add JMX dependency impl and tests.