added a test for handling of a wrong first line