Fix bootstrap of Mongo tests