Fix failed examples for Attribute#eql

Stubbed Class.type to return Attribute