implemented Delete, and removed duplated tests.