Adding test for user defined function recursion