Write tests for apns node library



https://bleacherreport.lighthouseapp.com/projects/6296/tickets/10317-write-tests-for-apns-node-library#ticket-10317-12