- Updated BDB library
- Fixed testcode