shifted APP_INSTALLED assignment in test_delete_app.py