Fix Apns Message

Fixed failing unit test due to misnamed variable.
Fixed alert constructor and added in test to a missing setLocArgs.