added status type checking and additional integration tests for DHL