Improved initialization of H2HNode and added integration tests