Stop-and-frisk challenge reaches court