Test cases for vararg methods