Add Makefile for test running
Apply some tests from Leaflet