Flake8 fix
Fix tests for SQLAlchemy 0.8 and 0.9
Flake8 fix
Merge pull request #1 from affinitic/fix-tests

Fix tests for SQLAlchemy 0.8 and 0.9