Resume testing

it currently segfaults
Fix the data values understanding of types

Passes a couple tests again.

The segfault was avoided just by turning off most of the tests
implement sqlany_sqlstate