add test helper to return nth matching element
Merge pull request #1331 from onepercentclub/feature/test-helper-update

Add test helper to return nth matching element