(#114) - more complicated compaction test
(#114) - fix idb adapter compaction
(#114) - add test with double compaction