add unittest for Buffer::findEOL().