tests: prepare files for testing theme view.
tests: add tests for theme view.