Adds a test extracting fields from lines