Replace mongoTemplate by using Spring Mongo Repository + add some JUnit
tests.