added testcases for rest client + small url separator fix