function dropCollection(collection) {
    return new Promise(function(resolve, reject) {
      mongoose.connection.db.dropCollection(collection, function(err) {
        if(err) reject(err);
        else resolve();
      });
    });
  }
Drops a MongoDB collection. For testing.

@param collection the name of the collection to be dropped