add sqlalchemy core test code