Fixes to request method test.