Fast prime number tests