cleanup idb adapter, add test for proper testing the update transaction
Merge branch 'master' into gh-pages

* master:
  cleanup idb adapter, add test for proper testing the update transaction