Operator priority tests added.

I am assuming transitivity of the priority relationship and therefore
only test those that border each other in the priority levels.