Added functionality for deleting tests.