Small fixes to 'length' descriptor
'length' descriptor tests