In order to test the scenario of the app starting in background mode (rather than already running in the background) when the notification arrives, you can start the app on your phone with Xcode, then kill the app by stopping it in Xcode.
iOS Push Notification Background Download Demystified
Nicholas Solter
9712
There is an easier way: In scheme settings, there is an option „Wait for executable to be launched“