checking existence of attributes for objects by using respond_to in Rspec + Validating presence of correct data for corresponding attributes