Fix error page preview tests

See https://github.com/symfony/symfony/pull/12147#issuecomment-63960722 and following comments there.