better mergeLines tests