bugfix: a test case would fail when TEST_NGINX_PORT was set to port numbers other than 1985.