End up with another failure, but not sure what is happening there:

````
Failures:

  1) Puppet::Resource when serializing a defined type produces an equivalent yaml object
     Failure/Error: newresource.should equal_attributes_of @resource
       expected Foo::Bar[xyzzy]{:name=>"xyzzy", :one=>"test", :two=>"other"} to equal attributes of Foo::Bar[xyzzy]{:name=>"xyzzy", :one=>"test", :two=>"other"}
     # ./spec/unit/resource_spec.rb:618:in `block (3 levels) in <top (required)>'
````