Add \n\r characters to encoding test