Add failing ValueError test.
Remove an obsolete comment.
Raise an IndexError instead of a TypeError...

to match NumPy.