change test to find a component instead