PRIMARITY TESTING WITH ELLIPTIC CURVES