move mongo.util to utils.dateutil
write test for mongo.barra