Upgrade to latest version of spring data mongo
Use EmbedMongo and create a Spring Factory to manage it
Use Unit Test