BS-11342, add a warning if the update of index fails
fix tests of some old migration steps