Merge pull request #3 from mbektchiev/master

Fix issues with EOL characters
Modify unit tests to catch issues when there's no empty line at the end of input file.