Added tests + methods for testing add_nodes API method