Consider a distribution with parameter $\lambda$ that has density
$$f_\lambda(x)=\frac{x^4}{24\lambda^5}e^{\frac{-x}{\lambda}},x>0$$
Let $X_1,...,X_n$ be $n$ independent random variables drawn from this distribution.
I test the hypotheses $H_0:\lambda=1$ vs $H_0:\lambda≠1$ by using the test
$$\psi=\textbf{1}\big(|\bar{X}_n-5|>C_{a,n}\big)$$
I want to find the smallest threshold $C_{a,n}$ so that the test $\psi$ has asymptotic level $\alpha$. I'm choosing this test so that $C_{a,n}$ does not depend on the estimate of $\lambda$.
How do I compute $C_{a,n}$?
I already computed the MLE which also depends on the sample mean $\bar{X}_n$ but I have no idea how to apply it. I'm used to calculating a test statistic and then finding the critical value or $p$-value in order to reject or fail to reject the null at a given asymptotic level $\alpha$. Here, I don't even know the exact distribution although it looks like it belongs to the canonical exponential family. I also don't know how to calculate the value of $\bar{X}_n$ without any observations it's technically unachievable.
I would really appreciate if someone could help me out.