I'm trying to figure out exactly what the difference is between $t$-tests and $z$-tests.
As far as I can tell, for both classes of tests one uses the same test statistic, something of the form
$$\frac{\hat{b} - C}{\widehat{\operatorname{se}}(\hat{b})}$$
where $\hat{b}$ is some sample statistic, $C$ is some reference (location) constant (which depends on the particulars of the test), and $\widehat{\operatorname{se}}(\hat{b})$ is the standard error of $\hat{b}$.
The only difference, then, between these two classes of tests is that in the case of $t$-tests, the test statistic above follows a $t$-distribution (for some sample-determined degrees-of-freedom $d$), whereas in the case of $z$-tests, the same test statistic follows a standard normal distribution $\mathcal{N}(0, 1)$. (This in turn suggests that the choice of a $z$-test or a $t$-test is governed by whether or not the sample is large enough.)
Is this correct?