Added tests for cleanDeletedKeywords