fixed test script -v option.