Change test exception type.
Add WorkerError behavior options.