testBytesWithNewline