added missing weight.var test