add tests for profile url generation