test SQLAlchemy preserves schema