[attribute] Add "length" attribute to reset() tests

A "length" attribute is causing attr.reset() to fail