Fix driver for mongodb test