Test-driven APNS library with built-in metrics