Use path.resolve to compute location header of relative paths
Update tests expectancy of location headers
Test location with leading ./ and containing ..