Add delete action and delete test.