Added test for recursion