Refactor tests/urls to use namespace