Fixed skipping lines after first line
Added testdata