mongodb driver fixes
tests fixes