implemented Delete on mockwriter