fix test case
minor comment update
fix search for nodes and root_ssh_pub_keys