Precedence tests for parser

Please add some associativity tests for bool operators. Due to short-circuiting, they are crucial for a correct implementation.