Fixed two bugs in the bsddb tests. One was reported as #1956
2 files changed