We show an improved inverse theorem for the Gowers-3 norm of n-qubit quantum states ∣ψ⟩ which states that: for every γ≥0, if the Gowers(∣ψ⟩,3)8≥γ then the stabilizer fidelity of ∣ψ⟩ is at least γC for some constant C>1. This implies a constant-sample polynomial-time tolerant testing algorithm for stabilizer states which accepts if an unknown state is ε1-close to a stabilizer state in fidelity and rejects when ∣ψ⟩ is ε2≤ε1C-far from all stabilizer states, promised one of them is the case.