Make use of embedded MongoDB database in unit test