Added int tests for topics
Added tests for consumer and subscriber