Improving database tests.