Adapt quote_bytes test so it return QByteArray which was not yet tested

Authored by vandenoever on Aug 5 2018, 5:52 PM.