tests(command/util): add tests for argOrStdin