Might be worth having a test case(s) for when blocks have multiple titles, as I would expect that to be the more likely source of bugs.