Add test case for NameConflictTreeWalk