Test for app behavior on resume added