Added tests for factorial and fib functions