Converted another index based test to use find() instead