Added another test that works.

Here the new line is inserted at the beginning of the file.