Add test cases for remote endpoints that have a path prefix