test helpers for using mongodb with mocha