Project: mule
Issue MULE-7624: Fix JMX agent tests in management module
As we changed the management module to run all the tests in the same JVM, a couple of tests failed becuase they create an RMI registry on a fixed port and interfere with each other. Change those tests so that they use a dynamically allocated port and run fine on the same jvm instance
Story points: 3