createdDate is assigned in the DBService, more test coverage for DBRepo
refactor unit test
using bson instead of json