Fixed some problems in ConditionTest + Pulled out a TestThread
Merge branch 'master' of https://github.com/hazelcast/hazelcast