Modified testCreatesTopic function in tests.py