adapt sqlalchemy tests to 0.9