Add tests for variadic functions.