More database tests.