test: recreate database in tests that use "dump"