recv function in tests