Increase test coverage of GitInterpreter and CommandExecutor