Add PROTOCOL_SECURE defiintion
Add testing to paypal class