Added delete, destroy and some relevant tests.