test to see if app restarts when reopened