Added unit tests for "delete"