fix category test to use urls.web instead of urls.api where needed