Append reference xhr in node context test case