Updated comments and testing methods in the appDelegate