Test case for a recursion