fixed ordering of primes, revised tquads test output accordingly