Updates to resource for mongodb, and completed test coverage