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.