testing request method