Added IndexOf with a predicate extension method & associated tests.