With tests (by mocking OSM API responses)