test in app delegate