Add unit tests for get_nodeinfo_list

Complete the TODO for adding unit tests to get_nodeinfo_list.

Change-Id: Ieb7b52f0bdabef7b052a9d9f35d8dd3797bc3ac3
Merge "Add unit tests for get_nodeinfo_list"