test not sampling w=0 with weighting