proper test-case implemented for dns resolve timeout issue