Precedence tests for parser

Address #38.
Not sure how these tests would look. Can you help?