Add tests for topic tree navigation

Test Plan:
- None