fixed 'precedence' test case