updated lengtrelated test