Fix createTopic to use the topic name provided.