Infrastructure for SQLAlchemy-related tests