Not sure how you want to test this. Changes were made due to breaking changes in Chef 14
Property names not using new_resource.NAME
Previously if a user wrote a custom resource with a property named foo they could reference it throughout the resource using the name foo. This caused multiple edge cases where the property name could conflict with resources or methods in Chef. Properties now must be referenced as new_resource.foo. This was already the case when writing LWRPs.
Not sure how you want to test this. Changes were made due to breaking changes in Chef 14
Ref: https://docs.chef.io/release_notes.html#id46