it('should stub the schema of a collection', function () {
   expect(widgets.simpleSchema()._firstLevelSchemaKeys).to.include('schemaKey');
   StubCollections.stub([widgets]);
   expect(widgets.simpleSchema()._firstLevelSchemaKeys).to.include('schemaKey');
   StubCollections.restore();
   expect(widgets.simpleSchema()._firstLevelSchemaKeys).to.include('schemaKey');
 });
  it('attach and get simpleSchema for local collection', function () {
    var mc = new Mongo.Collection(null);

    mc.attachSchema(new SimpleSchema({
      foo: {type: String}
    }));

    expect(mc.simpleSchema() instanceof SimpleSchema).toBe(true);
  });
  'insertMember': (doc) => {
    check( doc, NetworkMembers.simpleSchema() );

    NetworkMembers.insert(doc);
    console.log('member added: ' + doc.name);
  },