Added testLength()