$response needs to be tested, not $url