Working JMXClient with tests