RUBY-505 test on intervening query during cursor iteration

Test on cursors iterating with an intervening query that causes a connection refresh in a replica set. RUBY-505 and RUBY-545.