add test for merge result when lines are inserted at the top of a file Based on a patch by Omar Polo