o BUG FIX: countLines() would not count the last line if it did
  not contain a newline.  It would also give an error if the newline
  characters were only CR.  This despite it was documented that both
  cases were supported.  Added package system tests for them.