cleanup; fix self-closing tag with attribute
direct path to expectTokens in tests
fix backwardsLength in parser error output