Moved global configuration fields

 - Check for sender global configuration
 - Added global configuration tests
Added test for different response codes