some more test fixes (test everywhere as custom target, fixes for Qt5)