Added test for adding topic.