\documentclass[a4paper, 12pt]{article}

\input{preamble}

\begin{document}

\AMCrandomseed{1237893}
\def\AMCformQuestion#1{\vspace{\AMCformVSpace}\par {\sc Question #1:} }
\def\multiSymbole{}

\element{general}{
\begin{center}
\rule{0.5\textwidth}{.05cm}
\end{center}
\begin{questionmult}{QCM00001}
\input{sources/QCM_00001}
\end{questionmult}
}

\newcommand{\subject}{\onecopy{1}{
%%% Test header
\centerline{\Huge\bf Test}
\vfill
\fbox{
\begin{minipage}{\linewidth}
\Large\bf \id{} \name{} \surname{}
\vspace*{1mm}
\end{minipage}}

%%% End of the header

%%% Test questions
\shufflegroup{general}
\insertgroup{general}
%%% End of questions

%%% Answer sheet
\AMCcleardoublepage
\AMCformBegin

\namefield{\fbox{
\begin{minipage}{\linewidth}
\Large\bf \id{} \name{} \surname{} 
%\Large\bf \id{} -- \sciper{} \nom{} %(\EPFLSCT{})
\vspace*{1mm}
\end{minipage}
}}

\AMCform
\AMCassociation{\id}

\clearpage 
}}

\csvreader[head to column names]{list.csv}{}{\subject}

\end{document}

