Adding spec for AppDelegate