fix lengthoperator test