Using the right helper to compare URLs in tests