[BUGFIX] Remove side effects from ErrorController tests