D

de-flapdoodle-embed-mongo

...will provide a platform neutral way for running mongodb in unittests.