Add some more tests to parser

Use the new API: drop `lexer` and `debug=0`, change `optimize=0` to `optimize=False`.