added test for Request
improved Router and added test for Router