precedence tests