Added test for LR(1)