fixing test failures occured when deleting webapps