Write tests for delete block elements