use inheritance to test sqlalchemy types

Otherwise the dialect types aren't checked

TODO, make sure most specific type is chosen
Merge pull request #335 from mrocklin/postgres

use instance for sqlalchemy type checking