notation to symtest
We have
\symdef{completegraph}[1]{K_{#1}}
\symvariant{completegraph}[1]{rm}{\mathrm{K}_{#1}}
\symvariant{completegraph}[1]{it}{\mathit{K}_{#1}}
\begin{notation}[for=completegraph]
$\completegraph{n}$, $\completegraph[rm]{n}$, $\completegraph[it]{n}$,
\end{notation}
in the files, that should be reformatted to
\symdef{completegraph}[1]{K_{#1}}
\symtest{completegraph}{\completegraph{n}}
\symvariant{completegraph}[1]{rm}{\mathrm{K}_{#1}}
\symtest[variant=rm]{completegraph}{\completegraph[rm]{n}}
\symvariant{completegraph}[1]{it}{\mathit{K}_{#1}}
\symtest[variant=it]{completegraph}{\completegraph[it]{n}}
systematically everywhere.