Add tests for back button and topic search

Test Plan:
- Run tests