additionally test the remove of the dir, too. Differential Revision: https://phabricator.kde.org/D883