First functions with test cases and dependency on decimal