Add the publish/subscribe test cases.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>