finite field tests