Added is_prime and block_test