[ADD] Added test funcion for recv_publish delegate