Was not properly testing body, and was not passing state
Merge pull request #181 from tlunter/fix-deployment-api

Was not properly testing body, and was not passing state