add tests for Request#resolve, fix #37