Implement the parser's expect() function

Also start implementing parser tests.
Wouldn't that trigger the lexer right away (if we do `new Parser(lexer.result)`)?