Added tests and alternative methods on delete for textboxElementHandler