Merge pull request #1 from jamiehannaford/pr-489

fix acceptance tests and prevent decoding empty responses