Adding tests for application deletion.
Cleaning up our test for deleting applications.