Here is my observation :
Let $N$ = $(3^p-1)/2$ when $p$ is a prime number $p > 3$
Let $S_i=S_{i-1}^3-3 S_{i-1}$ with $S_0=52$ . Then $N$ is prime if and only if $S_{p-1} \equiv S_{0}\pmod{N}$.
I choose 52 because this is one of the "seeds" for the test of Lucas-Lehmer and it seems it works with this "seed" (you can find the seeds for Lucas-Lehmer test here)
For example with $p$ = $7$ I found with Pari GP
52, 1093
548, 1093
682, 1093
969, 1093
1033, 1093
594, 1093
52, 1093
And $1093$ is a prime number
I checked until $p=1100$ and I didn't find counterexample.
Is there a way to explain this ? I don't know how to start for proving it. If you found a counterexample please tell me.