Fix for tests that pass through a null or empty body
Merge pull request #3 from GiantThinkwell/cw-undefined-body-error

Fix for tests that pass through a null or empty body