Undoing written boolean check.

[#10317] Write tests for apns node library