added basic send and receive test; a bug fix in the logic of probe