Checks for invalid document returned from Fedex.

New test fails on `undefined method `elements' for nil:NilClass`.

@jbruton @boourns 
Fixed. Thanks!