fixed test failures in nginx-opt.t in the valgrind testing mode.