fix SharePie#prorate

Remove side effects of the method on DDD:P201
add unittests for AmoutPie