Add tests for reqrep and pubsub.