testing wehther payload was received correctly