added tests for first-and follow sets