Adding unit tests for deleted