add unit test for apns library
Merge pull request #359 from lupatellimatteo/0.8.1

add unit test for apns library