added test code to AppDelegate, successfully tested and commented it