Adding tests for the grammar and location parsers.