I thought it was going to be a nightmare debugging my apps background refresh (from a terminated state), but it wasn't. Well done!!!
My only suggestion, Xcode lets you set that as a custom configuration you can run from the tool bar.