berkeley db test works