Adding test for task delete.