Workaround for error message tests.