Add database tests.