renamed test, fixed test, fixed call back on appOpened function