Test refactoring. Split up, added messages
Using assertFalse
Ensuring MBean is created in test setup
Merge pull request #3726 from ajermakovics/fix/master/3716

Fix for test failure in LockMBeanTest #3716.