[TEST] Randomized number of replicas between 0 and the number of data nodes - 1

Randomized number of replicas between 0 and the number of data nodes - 1 (rather than just between 0 and 1)