Second Maximum of a Gaussian Random Field and Exact (t-)Spacing test