tests: dummydbm.error should be KeyError.