work with new Decimal
SqlValue type is rewritten
tests rewritten