Fix expected error in a test.

Deleting a non existing element from a sequence should raise an IndexError
(not a ValueError).