Rename check_index_name method
Rename check_index_name method

`check_index_name!` better communicates that we will raise if there is
an error. Also, the `InvalidTestIndex` class wasn't really needed. A
runtime error will do fine for this purpose.

alphagov/rummager,alphagov/rummager