Remove the each helper method as it might give the wrong impression that a component should represet the actual component specific functionality. Write test for elements() method.