updated test for area_weights regarding units