The logic for Thursday (or perhaps it first arises at Wednesday?) doesn't follow because the conditions change.
Firstly, as you said the test can't be on Friday because, IF IT HADN'T OCCURRED BY FRIDAY (i.e. it didnt occur on Monday, Tuesday, Wednesday or THURSDAY), it would no longer be a surprise since then it must occur on Friday which isn't much of a surprise.
Note that in the question, because of the chronology, the assumption that it can't occur on Friday is based on the fact that it already hasn't occurred in the week.
Then, to prove that it can't be on Thursday, they assume that it won't occur on Friday...but this assumption is in turn based on the fact that it already hasn't occurred on Thursday.
So once you try to find if the test will occur on Thursday, the inferences made based on the assumption that it won't occur on Thursday are invalid.
In other words, they prove that it can't occur on Thursday based on the assumption that it already hasn't taken place on Thursday.
Hope this helps.