Add NodeMock test