Add PUB/SUB tests