Add more thorough url generation tests