Adapt ApiShellTest to changed validateErrors()