Make tests run flawless

based on
https://raw.githubusercontent.com/Leaflet/Leaflet/master/spec/suites/cor
e/ClassSpec.js