fix leaflet and worker tests