Test code for hazelcast memory grid