Add test for line format

Test that there is no spacing before colon and only one space after colon.