test(calc): add test for calc_payout (#1317)
* first commit * typos * added test for nominator * cleanup, improved comments * (docs) added documentation for calc_partial_fee and calc_payout * fixed typos, separated tests and added block_number * typos