tests: fixed a test failure due to the misuse of the $TEST_NGINX_PORT variable.