Regression tests for parser

See #829.
Inconsistent quotes everywhere! Stick to double quotes please :)