fix unittests using client.get_public_node method