Fixing broken tests on texts change