Add JMX MBean and unit-test