test sqlalchemy.orm.attributes.History