Added test for the deleting an application from the system