Fixed response headers in dry_run

The headers returned in dry_run were not in correct format. This PR should fix tests failing dou to that issue.
Travis CI was configured to run tests for PRs.
if you add:

```ruby
rake :default => :test
```

to the `Rakefile`, then this script declaration isn't needed.