add test of limited recursion