Added unit tests re IndexWhere

Also, changed impl of IndexWhere to use a single enumerator (no longer
calling Skip)