fix ScaleStore tests, since TileManager in OpenLayers registers an addlayer listener as well, we need to search in the array of addlayer listeners