fixed the tests to account for bigdecimal