test in app delegate

added test to app delegate