Mongodb testing

did a basic coverage of mongodb... will revisit with more negative testing as time permits