add some more invalid sequence tests
rearrange grammar for readability (group token-level definitions together)
some more invalid sequence tests