Fix the broken validations test

The validation error box function was not searching the right place
for the appropriate component.