Test for lines with scanf
Test with scanf and fgets