- added some tests
- fixed a bug, which occur if we save a object into couchDB.