traits test: test more functor signatures

Signed-off-by: Matthias Kretz <kretz@kde.org>