Specifically make executeCommendLine more test friendly.
Specifically make executeCommendLine more test friendly.