testing receive hooks