Setting up transactional tests with Pytest and SQLAlchemy