Laid the foundation for db tests.