Yes, that's possible. Its existing purpose was to validate an index name like `rummager_test`, but we're using dashes for the `page-traffic-test` index to keep consistency with how we name indexes elsewhere. 

I think the behaviour is this code is valid (it could do with a refactor) but ideally in the future we'll refactor the remaining tests that aren't affected by the popularity functionality to use an index name that uses dashes.