Removed unnecessary try/catch and qDebug in unit tests