Adopted test to use decimal weight values