Added test for combo-wieght function