Fixed test for vertex weights.