added semicolon to test.
added an Array type/inheritance check before checking the length, framework test used 'length' as a property.