added test case for infinite recursion discussed in issue #192