We use following to create instance in tests:
  TestHazelcastInstanceFactory nodeFactory = createHazelcastInstanceFactory(2);