Bugfix for Attribrutal::Type::Array, added specs.