Fix and test for issue #95 tinyint wrong type mapping