it('saving an object should not modify it', function(done) {
     var copy = Objects.copy(object);
     startPromise.then(function() {
         return db.update(object);
     }).then(function(result) {
         expect(object).to.deep.equal(copy);
         done();
     }).catch(done);
 });
 }).then(function(result) {
     result1 = result;
     var object2 = Objects.copy(object);
     object2.value = "test2";
     return db.update(object2);
 }).then(function(result) {