Description
The problem seems to be that we are testing for the succesful finishing of the index rebuild task, which does not always happen in 50 seconds.
However, we are really only interested in whether the task has been added, we're not testing the rebuild task itself here.