Added test for Deleting applications

I just added test for delete applications. It contains two test one for deleting an existing application and two for deleting a non existing application.

Currently after trying to delete a non existing application you don't get a 404 as advertised