Feature/hearing maps images

What kind of tests could I add to the leaflet directive?

Should I use another kind of name for the directive? something like "locationMap", "addLocationMap", "renderLocationMap" ?¿?
I have also read in the docs that the use of replace is deprecated :S