Align coding style for geoip filter, add tests