tests needed to be adjusted if precedence optimizer is disabled