testing the simpler productions, realized that parser makes choices based on production order