Adding tests for BerkeleyDb.