Improve parser tests.