tests: add theme switcher to components, use api v3, remove unused code