Corrected MultiOpenSearch

- startIndex taken into account and corrected
- Unit Test consolidated to test all cases

Signed-off-by: Emmanuel Mathot <emmanuel.mahot@gmail.com>