(AutomatedTests) Fix for command-line-options test, reset optind to 0 before running...