test cookie jar should explicitly call lines for ruby2 compat