Converting some tests to HazelcastTestSupport.
Adding shutdownAll where instances were created.
Removed unused lock.
Merge pull request #3976 from ajermakovics/mast/test-instances

Converting some tests to HazelcastTestSupport