Fix regressions in test suite; #586

I needed an import to properly register the Deletion model with our
SQLAlchemy wiring, so that the deletions table was emptied on teardown.