Test for hidden left recursion added plus fixes in the visualization