Node discovery unit tests