Tests search match index calculation in resources panel.

Bug 66050