replaced tests against httpbin.org with httptest server

unearthed an error in Id("delete",r), where another / is appended to the base url