title: MongoDB / Mongoose Unit Testing - Best practice?
body: <p>I'm writing a npm package to import GIS data into MongoDB via mongoose. I've written unit tests using mocha to test the data transformations that happen BEFORE the mongoose model is saved. </p>
  
  <p>I'd like to be sure that all the mongoose data got saved correctly to the database (including any updates that needed to occur). What would be the best practice, in this case? </p>
  
  <p>My intuition create a test collection, insert all the records, ensure that it looks the way I expect it to look, and drop the collection.</p>