Updated replication performance test to support configurable number of documents