Merge "Adding tests for failed qualities" into qt-dev