Small fix for nodemanager unit test

See aaaaalbert@1c75b94cfcf9cbdbc1a56021b6975eb93a1ab362