Extracted utility function for converting BigDecimal to timestamp. Also added function to convert from timestamp to bigdecimal. Added test for both add and subtract on timestamp