fix some kdeui and kdecore tests warnings