Tweaked testRetainsNewLineCharacters

Regarding your earlier comment @keradus. :)