updated areaweights coordinate check and correpsonding test