changed this reference to leaflet be the same as we use in the core tests and the other example.