update tests to use new api
new api, planning for subdb
document new api
2.0.0