Text this: Optimal sequentially planned hypothesis tests for stochastic processes with stationary and independent increments.