Added tests and code for showing names for child nodes