attributes.length test