testing send and receive