Support union variadic arguments and add tests.