Fix ScaleStore tests.
Fix ScaleStore tests.

Be more dynamic when checking whether certain expected handlers are bound. We
cannot assume that no previous handlers are being bound e.g. by some internal
OpenLayers logic. In this case our map might have some handlers at unexpected
indices, because its TileManager instance registered events previously.

m-click/geoext2,geographika/geoext2,Sundsvallskommun/geoext2,m-click/geoext2,geographika/geoext2,geoext/geoext2,Sundsvallskommun/geoext2,geoext/geoext2,marcjansen/geoext2,annarieger/geoext2,chrismayer/geoext2,chrismayer/geoext2,marcjansen/geoext2,annarieger/geoext2,Sundsvallskommun/geoext2,bentrm/geoext2,bentrm/geoext2