CLN: Remove leftover test.py file
Merge pull request #5119 from jtratner/remove-test_py

CLN: Remove leftover test.py file
CLN: Cleanup Int64Index and Float64Index __new__

Int64Index had duplicate code under a branch plus both were looking for
scalar data errors handled in `_coerce_to_ndarray` anyways.