Fix alembic dep
Add py.test tests.