added unit test for DEL
implemented DEL