[tests] Fix mongodb options test to compensate for recent changes to mongodb internals