Add test case for more complicated recursive function calls.