Integrate controller tests with the database