Add tests for topic_retriever