test: add missing WITH_WEIGHT for weight vector