acceptance tests for subscribing and publishing