formatting cleanup in geocode_replace_loc
first crack at setting up geocode_replace_loc testing