TEST FOR DELETE FUNCTION