Robust Hypothesis Test for Nonlinear Effect with Gaussian Processes