Added an assertion to check the count of rows where title is null before and after update