More test cases for setArg