added test for topics