Fix flaky tests
Teardown is still in scope of the changes of the test (before db is reset), so must happen in setup instead.
Closes #290 (closed)
Teardown is still in scope of the changes of the test (before db is reset), so must happen in setup instead.
Closes #290 (closed)