Fix Connection Pub/Sub tests

- Use correct argument order in publish calls

- Assert that messages were received