added basic unit tests for topic and a sample json file