Testing for nonlinear deterministic components when the order of integration is unknown