Adding topic creation code to tests.