Test coalescing of empty lines