Add test for ILock MBean and refactored Jmx test data holder out of MBean test