When to use the t-distribution and when the normal distribution for the test of hypothesis