Modify unit test to catch issues when no empty line at the end of input.
Merge pull request #4 from mbektchiev/master

Modify unit test to catch issues when no empty line at the end of input.