Fixed the tests cases to work with Hazelcast 3.0.