CSHARP-796 - Fix potential race condition in member adding.
* Added test for replica set
* Fixed replica set name test to work for all counts