Added some tests for JMX