Fix integration db tests.