Added tests for factorial and pow utils