Tests for delete command.