Fix testRecursiveLookup case