fix tests for &| and |&

& is tighter than |, so |& is okay, since it implies a leading & in the
right side of |, but &|is not okay, since it implies trailing & in the
left of the |.