Add unit test for variadic functions with typehints.
Subscribers: apol, kdevelop-devel
Differential Revision: https://phabricator.kde.org/D6271