Adding berkeleydb helpers
Adding test runner for berkeley and general cleanups