This function was needed as bytes.Fields had some problems with the quoting. Now there are test cases too so that errors can be found more easily.