Fix some usage of broker::done() in unit tests.

The way they used it ended up shutting down CAF then destructing some
broker-related objects on the stack whose dtors depend on some CAF
functionality -- segfault.