Added some tests for JMX
Merge pull request #1873 from pveentjer/testing-jmx

Added some tests for JMX