tests for mapProxyPath
add test for extractToken
first draft of addCorsAndBearerToken tests