Testing exogeneity in nonparametric instrumental variables identified by conditional quantile restrictions