add tests for dbm methods