\documentclass{article}
\usepackage{xltxtra}
\usepackage[bloc,completemulti]{automultiplechoice}
\usepackage{multicol}
\setmainfont{Linux Libertine O}
\begin{document}
\def\AMCmakeTitle#1{\par\noindent\hrule\vspace{1ex}{\hspace*{\fill}\Large\bf #1\hspace*{\fill}}\vspace{1ex}\par\noindent\hrule\par\vspace{1ex}}
\AMCrandomseed{1527384}

\def\insertPlainGroupgrB{\insertgroup{grB}}
\onecopy{5}{
\begin{minipage}{.47\linewidth}
\end{minipage}\hfill
\begin{minipage}{.47\linewidth}
\namefield{\fbox{\begin{minipage}{.9\linewidth}\AMClocalized{namesurname}

\vspace*{.5em}\dotfill
\vspace*{1mm}
\end{minipage}
}}\end{minipage}\vspace{4mm}

\vspace{4mm}\noindent\hrule


\shufflegroup{grB}
\vspace{2ex}

\insertPlainGroupgrB


}
\end{document}
