test and implementation for #13 svlen