iterative_factorial.cpp
* fix: remove memory leak * tests: check properly if `math::iterativeFactorial` throws