[MASSEMBLY-583] Added testcase (fixed MASSEMBLY-726, r1637662)
Added precedence check for file items