tests: Rename global variable ndn to ndn1 to not conflict with global namespace ndn.

Change-Id: I9896d052b30a93e5088584fafee90d080670b4e5