Refactored the Math test cases, added tests for BigDecimal