rename constants and add test for theme plugin invokation