test request.method