simple tests around hasArg method