Added "getArgs(func)" function and test

Added "getArgs(func)" function and test and renamed
"getFuncName(func)" to "getName(func)"