wrote additional tests, including two that discovered bugs in the new parser