Fixed SQLAlchemy tests on Python32