Use url_for factory in Team unit tests