Adding node name getter with tests