Added unit tests for resource changes related to state_attrs and identity_attr. Still need to handle ohai and deploy.