Use tmpdir for test db