[api] export `DatabaseWrap`
[test] Add `test/tmp`