test to ensure there is replica name when connected mongo with replica set