Add tests for _getCmdLineArg()