tests: Fix scripted_recv_callback