fix text tests
printf to qDebug
qDebug to (f)printf
eliminating needless \n in qDebug() calls

searching for 'qDebug.*\\n\'