I'd rather drop the lambda and update the tests to either use a subclass with an overridden `handle_outbound_message` method or patch the method before starting the worker.