content delete test + refactoring