Several tests need to be adapted, because they were implicitly making the
assumption that there is no auxiliary variable.
Incidentally, this closes#1731. This commit therefore also removes the
workaround introduced in 0391dbbeb1.
and lags on more than one period: All variables different from zero
must be declared in histval. The reference simulation has one lag
because of k(-1).