test the function compute_cell_wis