Conditional use of each_line vs. each in parsing

Makes parsing routines compatible with multi-line strings on top of arrays of strings.
resource() method tests, test files