Rewrite tests to not use tier3 frameworks
DIPHPHERENTIAL: D4448 Differential Revision: https://phabricator.kde.org/D4448