Fixes #2251 HazelcastInstanceFactory#newHazelcastInstance should return interface HazelcastInstance.
 test fixes.
 test fixes.