Test request hook