add test cases for control-panel, introduce i18n message factory, test produces 1failure with 2 errors [ci skip]