Previously if the hazelcastInstance failed to start we would get a NPE when the tests ended. This would mask the original issue of starting the hazelcastInstance. This commit ensures that hazelcastInstance is non-null before trying to shut it down. Polish gh-360 Relates to gh-360