tests: fixed a failure due to recent changes in the nginx core.
tests: use larger timeout limit for a test case revolved with external DNS resolving.