Added test for Request class.