Add tests for searching an array of unknown length.