Add database.
Add database tests.