Refactored profile url and model testing.