fixing test failures occured when deleting webapps
Merge pull request #45 from Nipuni/master

fixing test failures occured when deleting webapps