remove popen4 gem
improve replicaset environment checks
try to do tests more stable
change the command to make mongod sleep