Unit test to test data consistency of rebalancing of partitions

Tests for race conditions in IMap operations while nodes are being adding to or
removed from a cluster.

Reproduces issue #2785