[iOS] Test logic cleanup

This update could allow an odd Url bug to occur. The previous code was more correct.