Behavior specs cleanup: Improve semantic predicate specs
Behavior specs cleanup: Improve semantic predicate specs

Note that use of |text| inside semantic predicate code is no longer
tested and officially supported.

jlturner/pegjs,Mingun/pegjs,Mingun/pegjs,mcanthony/pegjs,luisvt/pegjs,Sciumo/pegjs,pegjs/pegjs,GerHobbelt/pegjs,pegjs/pegjs,luisvt/pegjs,mcanthony/pegjs,Sciumo/pegjs,jlturner/pegjs,GerHobbelt/pegjs