Exact nonparametric inference for detection of nonlinear determinism