Added test for left recursion detection.