switched from Long to BigInteger and from Double to BigDecimal
fixed accent-1155
fixed broken ts test