The usual ( but simple version) Lucas-Lehmer primality test, as done on Mersenne numbers ( of form $2^n-1$) is as follows:
$$s_0=4\\s_n=(s_{n-1})^2-2 \pmod {2^n-1}\\if\;s_{p-2}\equiv0\pmod{2^n-1}\\2^n-1\;is\;prime$$
Are there other ways to doing this tests ?
Yes, there are. First thing you will notice, is $2^n-1 \nmid2$ . This means, since every value of $s_n$ is even you can divide out the factor of two and it won't change which n values give a 0 result ( note: it will mess with the results for other values of n, as well as the values leading up to 0 in the new sequence). if we allow $y=x^2-2$ for a start and assume x is even, we get $y=4z^2-2$ for $z={x\over2}$ both parts of the difference divide by 2 and we get $y=2z^2-1$ our new start value will be 2. This is a bit more cumbersome to work with though.