get rid of test-saving code; log recursion depth and increase recursion limit