delete method and first tests implemented