Sweet Reason wins Longines Test Stakes