The reference for Benson's test is: D. Benson. Dickson invariants, regularity and computation in group cohomology. Illinois J. Math. 48 (2004), 171–197. Published version.
Briefly, Benson's test goes as follows. Suppose we have computed the cohomology ring out to degree N and have found ζ1,…,ζr which are a hsop for the cohomology ring and for the current approximation. Let ni = max(|ζi|,2). Benson's test requires that the p-rank r be at least two.
First one checks whether the hsop is filter-regular. If so, one computes the best possible filter type (d0,…,dr). Then one calculates
Benson also points out that if the p-rank of the centre is at least two, then the > in the above inequality can be replaced by ≥.
Benson actually requires that ni := |ζi| should be at least two. But I've checked that squaring ζi affects neither filter-regularity nor the type.
The rules for the type (d0,…,dr) are: d0 ≥ -1; and di+1 is either di or di-1. A hsop for R is filter-regular of this type provided that multiplication by ζi+1 is injective on R⁄(ζ1,…,ζi) in degrees > n1+…+ni + di for 0 ≤ i ≤ r, where ζr+1=0.
Amongst the various types of a filter-regular sequence there is one which is smallest in the dominance partial ordering. This best fitting type is determined as follows:
A filter-regular hsop of type (d0,…,dr) is
I haven't yet written the code to compute the regularity, should a filter-regular sequence turn up which is not strongly quasi-regular. I presume that Benson's paper holds some clues.