Avoid leaking output from DB creation during tests

It messes up the rendering of the results.