hg-7 fix tests, and add params to component