tests: add tests for exports(themes and groups relations).