added merge precedence test