[Routing] fix inconsistencies in RequestContext
[Routing] add tests for RequestContext