Refactor common package and include PushNotification APN test