On Cyclotomic Primality Tests