add test for weight
Merge remote-tracking branch 'linnovate/master'