Test variable argument in a function