More tests for parser.
Note to self to fix code dup.