Exact tests for the means of Gaussian stochastic processes