Fix the broken validations test

The validation error box function was not searching the right place
for the appropriate component.
Merge pull request #585 from zanata/fix-broken-validation-test

Fix the broken validations test