test sending and receiving information