Test case for first line errors