fix failing test for worker error reporting