bug fixes in doing the inter comm
Updated test