Add unit tests for decimal type usage