add unitest for mongodb package lib