[fix-bug] undefined method `[]' for nil:NilClass to raw_info['emails']

- if it exists email, I analyzed all of types and assign to an array so becoming your email attribute to emails:

````ruby
emails: [
  {'value' => 'foo@bar.com', 'type' => 'account', primary: true},
  {'value' => 'foo@bar.com', 'type' => 'personal'},
  {'value' => 'foo@bar.com', 'type' => 'business'},
  {'value' => 'foo@bar.com', 'type' => 'other'}
]
````

If no email coming in response the result it will be:

````ruby
emails: []
````

- I did a few adjustments in the tests for everyone to be executed successfully.