Why this test statistics for these distributions For a random sample $X_1,\ldots,X_n$ from the Poisson distribution I get where the T-statistic comes from because for a Poisson $E(X) = \lambda$ and $V(X)=\lambda$ so it becomes:
$$T= \frac{\bar{X}-E(X)}{\sqrt{\frac{V(X)}{n}}} =\frac{\bar{X}-\lambda}{\sqrt{\frac{\lambda}{n}}},$$
where $\bar{X} = (X_1+\ldots,X_n)/n$.
But for the geometric distribution I have $E(X) = \frac{1}{p}$ and $V(X) = \frac{1}{p^2}$. And if I substitute:
$$T = \frac{\bar{X}-E(X)}{\sqrt{\frac{V(X)}{n}}} = \frac{\bar{X}-\frac{1}{p}}{\sqrt{\frac{1}{np^2}}} \neq \frac{\bar{X}-\frac{1}{p}}{\sqrt{\frac{1-p}{np^2}}}$$
The expression on the right is the real expression. Where does that $1-p$ in the numerator come from? How would I proceed with the binomial and exponential?

It is not clear what is the purpose of your statistic but, note that if $X\sim \text{Geometric}(p)$, $\text{var}(X) = \frac{1-p}{p^2}$.
Furthermore, if
$$X\sim\text{Binomial}(m,p)$$
then $E(X)=mp$ and  $\text{var}(X)=mp(1-p)$. And if
$$X\sim\text{Exponential}(p),$$
then $E(X)=1/p$ and $\text{var}(X)=1/p^2$. So to get the expression of the statistic you can just replace the moments by their expressions.
As a side note, your $T$ statistic coincides with the Wald statistic based on the maximum likelihood estimator and its asymptotic variance. The nice thing about the Wald statistic is that it has asymptotic standard normal distribution, which you can use to do inference on your parameter of interest.
