printf("Got called");
if (p1 != nsnull) { nsITestProxy *test;  p1->QueryInterface(NS_GET_IID(nsITestProxy), (void**)&test);  test->Test2(); PRInt32 a; test->Test( 1, 2, &a); printf("\n1+2=%d\n",a); }   *p2 = new nsTestXPCFoo();
NS_IMETHODIMP nsTestXPCFoo2::Test3(nsISupports *p1, nsISupports **p2){    printf("Got called");    return NS_OK;}