Fix nsIRequest test for non-client environments