Try to make tests work without running mongodb.