I think this only verifies that it did indeed find a `5` in the array, but doesn't verify that it found *the first* `5` rather than the second one.  One approach would be to test for `item === 5` and if true, capture `i` at that point, then make an assertion about both `result` and `i` (or possibly just `i`?).