Jasmine Unit tests working on Leaflet functionality