wrote failing test for extracting first line of text from a string.