wscript: variadic functions should be optional
src/lvec.c: add missing lvec_set_sample, improve test