explicit code-sign for test target to avoid err during build in recent strict xcode
added callback to log err when failing to register with apns
Merge branch 'fixes'