Fix the test failure. The problem should be mockNMClient as been changed
before all success tests are executed.