Fix test_nh.cc testcase.

Change-Id: I8ef87b91bff832e2ed53411be90065c26ccae1e5
Merge "Fix test_nh.cc testcase."