Use a temporary database file.

It is automatically cleaned up when the test finishes.