Fix issue with BDB test