Tests for topic channel creation/deletion. A couple of bug fixes.