REV: add findNodes() function and its test codes
Merge branch 'implement-findnodes'